package service;

import lombok.Getter;
import service.impl.PageServiceImpl;
import service.impl.ReplaceServiceImpl;

/**
 * Created by PanD
 */

/**
 * description: 方法工厂，提供服务类
 * @return
 */
public class ServiceFactory {

    public static PageService pageService = new PageServiceImpl();

    public static ReplaceService replaceService = new ReplaceServiceImpl();

//getter ------------------------------------------------------------------------
    public static ReplaceService getReplaceService() {
        return replaceService;
    }

    public static PageService getPageService() {
        return pageService;
    }
}
